package models

import "time"

type Posting struct {
	Id         int       `json:"id" gorm:"primary_key"`
	Title      string    `json:"title"`
	Content    string    `json:"content"`
	AccountId  string    `json:"account_id"`
	CreateTime time.Time `gorm:"default:null" json:"create_time"`
}

func (p Posting) TableName() string {
	return "posting"
}
